package org.lq.ht.service.impl;

import java.util.List;

import org.lq.ht.dao.impl.OrderSheetDaoImpl;
import org.lq.ht.entity.OrderSheet;
import org.lq.ht.service.OrderSheetService;
/**@author 黄明慧
 * 进货订单业务实现
 *
 * @package org.lq.ht.service.impl
 * @date 2020年8月21日下午7:54:26
 */
public class OrderSheetServiceImpl implements OrderSheetService<OrderSheet> {
	OrderSheetDaoImpl osd = new OrderSheetDaoImpl();
	@Override
	public boolean save(OrderSheet t) {
		return osd.save(t)>0 ;
	}

	@Override
	public boolean update(OrderSheet t) {
		return osd.update(t)>0;
	}

	@Override
	public boolean delete(int id) {
		return osd.delete(id)>0;
	}

	@Override
	public List<OrderSheet> findAll() {
		return osd.findAll();
	}

	@Override
	public OrderSheet getById(int id) {
		return osd.getById(id);
	}

}
